home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / alsa-utils.postrm < prev    next >
Encoding:
Text File  |  2009-04-07  |  577 b   |  26 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6. purge)
  7.     # Remove legacy config and state files
  8.     rm -f /etc/alsa/0.9/asound.conf /etc/asound.state
  9.     # Remove configuration file generated by alsaconf
  10.     rm -f /etc/modprobe.d/sound /etc/modutils/sound
  11.     # Remove state file generated by alsactl
  12.     rm -f /var/lib/alsa/asound.state
  13.     # Remove udev rules symlink
  14.     L="/etc/udev/rules.d/z60_alsa-utils.rules"
  15.     [ -L "$L" ] && rm -f "$L"
  16.     ;;
  17. esac
  18.  
  19. # Automatically added by dh_installinit
  20. if [ "$1" = "purge" ] ; then
  21.     update-rc.d alsa-utils remove >/dev/null || exit $?
  22. fi
  23. # End automatically added section
  24.  
  25.  
  26.